<?php
$this->placeholder('page_class')->append('page_edit_profile');


$inputs	=	array();
if($this->entity->id > 0){
	$inputs =array('id'=>array('type'=>'hidden'));
}
?>
<div id="innner-form">
<?php 
echo $this->action(
		'render', 'block', 'blocks',
		array(
			'template'=>'form',
			'form'=>'adminEditor',			
			'label'=>$this->title,
			'return_url'=>$this->baseUrl('/'.$this->module.'/'.$this->controller),
			'post_url'=>$this->baseUrl('/'.$this->module.'/'.$this->controller.'/save'),
		    'customer'=>"class='userfrom'",
			'data'=>$this->entity->getData(),
			'inputs'=>$inputs,
			'fieldsets'=>array(
				array(
					'label'=>$this->__('General Information'),
					'inputs'=>$this->fieldsets,
				),
			)
			
		));
?>
<div class="c"></div>
</div>